<?php
header("Content-type:text/html;charset=utf-8");
//取会员信息
$user =require 'user.db';
//取函数库
require 'blog/tool/function.php';
//导入配置
C(require 'config.php');

if(!isset($_GET['user']) || !isset($user[$_GET['user']]))
{
	echo "请登录》。。";exit;
}
else
{
	//取用户风格信息
	$style = $user[$_GET['user']]['style'];
	//设置视图风格
	C("style",$style);
	//加载视图
	include 'view/'.C('style').'/index.html';
}